package com.cnswhy.cloud.server.core.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 实体类
 * 
 * </p>
 *
 * @author cnswhy
 * @since 2020-10-18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "CustomerPageDTO", description = "")
public class CustomerPageDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "")
    @Length(max = 11, message = "长度不能超过11")
    private String loginName;
    @ApiModelProperty(value = "")
    @Length(max = 50, message = "长度不能超过50")
    private String passWord;
    @ApiModelProperty(value = "")
    private Long promoterId;
    /**
     * 0普通用户1经销商2城市区域代理
     */
    @ApiModelProperty(value = "0普通用户1经销商2城市区域代理")
    private Integer customerType;
    /**
     * 总积分
     */
    @ApiModelProperty(value = "总积分")
    private BigDecimal totalProfit;
    /**
     * 账户余额
     */
    @ApiModelProperty(value = "账户余额")
    private BigDecimal availableBalance;
    /**
     * 0正常1禁用2未激活
     */
    @ApiModelProperty(value = "0正常1禁用2未激活")
    private Integer status;
    @ApiModelProperty(value = "")
    @Length(max = 11, message = "长度不能超过11")
    private String promoterMobile;
    /**
     * 交易密码
     */
    @ApiModelProperty(value = "交易密码")
    @Length(max = 100, message = "交易密码长度不能超过100")
    private String tradePass;
    /**
     * 拼购券总量
     */
    @ApiModelProperty(value = "拼购券总量")
    private BigDecimal totalCoupon;
    /**
     * 可用拼购券
     */
    @ApiModelProperty(value = "可用拼购券")
    private BigDecimal coupon;
    @ApiModelProperty(value = "")
    @Length(max = 50, message = "长度不能超过50")
    private String realName;
    @ApiModelProperty(value = "")
    @Length(max = 255, message = "长度不能超过255")
    private String headImg;
    @ApiModelProperty(value = "")
    @Length(max = 50, message = "长度不能超过50")
    private String nickName;
    /**
     * 拼团值
     */
    @ApiModelProperty(value = "拼团值")
    private BigDecimal spellValue;
    /**
     * 贡献值
     */
    @ApiModelProperty(value = "贡献值")
    private BigDecimal contributionValue;
    /**
     * 是否有参团 1没有2有 默认1
     */
    @ApiModelProperty(value = "是否有参团 1没有2有 默认1")
    private Integer isSpell;
    /**
     * 拼团收益
     */
    @ApiModelProperty(value = "拼团收益")
    private BigDecimal spellBalance;
    /**
     * 贡献收益
     */
    @ApiModelProperty(value = "贡献收益")
    private BigDecimal contributionBalance;
    /**
     * 爱心收益（参与奖）
     */
    @ApiModelProperty(value = "爱心收益（参与奖）")
    private BigDecimal loveBalance;
    /**
     * 分享红包
     */
    @ApiModelProperty(value = "分享红包")
    private BigDecimal shareBalance;
    /**
     * 推荐链路
     */
    @ApiModelProperty(value = "推荐链路")
    private String promoterList;
    @ApiModelProperty(value = "实名认证状态")
    private String verifyStatus;
    @ApiModelProperty(value = "首次收款标记")
    private Integer firstPay;

}
